package com.cxso.example.response.sign;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
@Schema(description = "获取模板详情-反参")
public class SignGetTemplateDetailResponse {

    @Schema(description = "合同编号", example = "154CA9A38B488CD5")
    private List<Components> components;


    @Schema(description = "合同编号", example = "154CA9A38B488CD5")
    private String fileName;

    @Schema(description = "合同编号", example = "154CA9A38B488CD5")
    private List<String> imgPathList;


    @Schema(description = "合同编号", example = "154CA9A38B488CD5")
    private String templateNumber;

    @Getter
    @Setter
    @Schema(description = "模板组件生成合同文件-反参")
    public static class Components {
        @Schema(description = "合同编号", example = "154CA9A38B488CD5")
        private String contextId;

        @Schema(description = "合同编号", example = "154CA9A38B488CD5")
        private Integer font;

        @Schema(description = "合同编号", example = "154CA9A38B488CD5")
        private Integer fontSize;


        @Schema(description = "合同编号", example = "154CA9A38B488CD5")
        private Integer height;

        @Schema(description = "合同编号", example = "154CA9A38B488CD5")
        private String label;

        @Schema(description = "合同编号", example = "154CA9A38B488CD5")
        private Integer page;

        @Schema(description = "合同编号", example = "154CA9A38B488CD5")
        private Boolean required;

        @Schema(description = "合同编号", example = "154CA9A38B488CD5")
        private Integer sourceId;

        @Schema(description = "合同编号", example = "154CA9A38B488CD5")
        private String templateNumber;


        @Schema(description = "合同编号", example = "154CA9A38B488CD5")
        private Integer textColor;


        @Schema(description = "合同编号", example = "154CA9A38B488CD5")
        private String thirdPartyCustomId;

        @Schema(description = "合同编号", example = "154CA9A38B488CD5")
        private Integer type;
        @Schema(description = "合同编号", example = "154CA9A38B488CD5")
        private Integer width;


        @Schema(description = "合同编号", example = "154CA9A38B488CD5")
        private Integer x;

        @Schema(description = "合同编号", example = "154CA9A38B488CD5")
        private Integer y;

    }


}
